﻿<!--
//===============================================================================
// Mammoth Patter Miner 2009
//===============================================================================
// Copyright (C) 2008-2009 Arkadiusz Świerczek and Piotr Włodek. All rights reserved.
//===============================================================================
// Defines user interface for the LogView.
//===============================================================================
-->

<Controls:TabMenuItemWindow x:Class="WpfRcp.Views.Windows.LogWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:WpfRcp.Controls;assembly=WpfRcp.Controls"
        xmlns:Behaviors="clr-namespace:WpfRcp.Controls.Behaviors;assembly=WpfRcp.Controls"
        xmlns:Globals="clr-namespace:WpfRcp.Core.Globals;assembly=WpfRcp.Core"
        xmlns:Regions="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
        Title="Log" Height="400" Width="966"
        Background="{DynamicResource WindowBackground}" BorderThickness="1" BorderCornerRadius="0" BorderBrush="White"
        IsBodyMoveable="False" Behaviors:WindowBehavior.HideInsteadClose="True"
        Icon="{Binding RcpSettings.WindowIcon}">

    <Border x:Name="m_Border" Background="{DynamicResource DarkWindowBackground}" CornerRadius="3" Padding="5">

        <TabControl
            TabStripPlacement="Left"
            Regions:RegionManager.RegionName="{x:Static Globals:RegionNames.LogRegion}">

            <TabControl.ItemContainerStyle>
                <Style TargetType="TabItem" BasedOn="{StaticResource {x:Type TabItem}}">
                    <Setter Property="Header" Value="{Binding DataContext.DisplayName}" />
                </Style>
            </TabControl.ItemContainerStyle>

        </TabControl>
    </Border>

</Controls:TabMenuItemWindow>
